// ==UserScript==
// @name         自用—合格证打印页去除顶部按钮快速打印
// @namespace     http://vige_1_vipgreatking.gitee.io/javascript
// @version      1.0
// @description  try to take over the world!
// @author       vige
// @include      http://222.172.224.41:8001/baseInfo/businesss/Print?*
// @match
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
   document.getElementsByTagName("title")[0].innerText = 'vige提供—合格证打印页去除顶部按钮快速打印';
    $("button").remove();
    console.log('移除顶部“打印”、“关闭”功能按钮');
    setTimeout( "onPrint()",0.05 * 1000 );//延迟打印当前页,单位毫秒
    setTimeout( "onClose()",3 * 1000 );//延迟关闭当前页,单位毫秒
})();
